<?php
require_once '../../../../define.php';
require_once '../ThumbLib.inc.php';
$filename = 'test.jpg';
$thumb = PhpThumbFactory::create($filename);
//$thumb->adaptiveResize(1000,1000);
//$thumb->resize(0,1000);
//$thumb->resizePercent(75);
//$thumb->crop(0, 0, 200, 100);
//$thumb->rotateImage();
$thumb->rotateImageNDegrees(-30);
$thumb->show();